import { SELECTMODEL } from './actionType'
 const defaultState ={
    list:[]
}

const reducer = ( state=defaultState,action)=>{
    switch(action.type){
        case SELECTMODEL:
            return {
                list:action.list
            }
        default :
            return state
    }

}

export default reducer